From: Richard M. Stallman Date: Mon, 29 Dec 2003 21:52:03 +0000 (+0000) Subject: (Creating Buffer-Local): Add local-variable-if-set-p. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~24640 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=25ccfa4fa7ad79eb936185d605fb6f1f7191db41;p=emacs.git (Creating Buffer-Local): Add local-variable-if-set-p. --- diff --git a/lispref/variables.texi b/lispref/variables.texi index bbe7358b5d7..4ff40120ca4 100644 --- a/lispref/variables.texi +++ b/lispref/variables.texi @@ -1335,6 +1335,12 @@ This returns @code{t} if @var{variable} is buffer-local in buffer @code{nil}. @end defun +@defun local-variable-if-set-p variable &optional buffer +This returns @code{t} if @var{variable} will become buffer-local in +buffer @var{buffer} (which defaults to the current buffer) if it is +set there. +@end defun + @defun buffer-local-value variable buffer This function returns the buffer-local binding of @var{variable} (a symbol) in buffer @var{buffer}. If @var{variable} does not have a